package com.hch.vo;

/**
 * 由于博客页面初始化出现了空指针异常而创建该类
 */
public class BlogQuery {

    private String title;
    private Long typeId;
    //这里好像必须设置 recommend的类型为boolean，否则会报空指针异常，包装类Boolean的默认赋初值是NULL，基础类型默认初始值是false
    private boolean recommend;

    public BlogQuery() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public boolean isRecommend() {
        return recommend;
    }

    public void setRecommend(boolean recommend) {
        this.recommend = recommend;
    }
}
